//
//  HomePageViewController.h
//  YiqiMobile
//
//  Created by henry on 13-3-23.
//  Copyright (c) 2013年 henry. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PushMenuView.h"
#import "LeveyPopListView.h"
#import "URLRequest.h"
#import "EGORefreshTableHeaderView.h"

@interface HomePageViewController : UIViewController<UITableViewDataSource,UITableViewDelegate,PushMenuViewDelegate,LeveyRightPopListViewDelegate,IRequest,UIScrollViewDelegate,EGORefreshTableHeaderDelegate>{
      EGORefreshTableHeaderView *_refreshHeaderView;
      BOOL _reloading;//主要是记录是否在刷新中
}

@property (weak, nonatomic) IBOutlet UIButton *bowenButton;
@property (weak, nonatomic) IBOutlet UIButton *gonggaoButton;
@property (strong, nonatomic)  UITableView *mytableView;
@property(nonatomic,assign)  BOOL isShowLevelPop;
@property(nonatomic,strong) PushMenuView *pushMenuView;
@property(nonatomic,strong) NSMutableArray *arraybwList;
@property(nonatomic,strong) NSMutableArray *arrayggList;
@property(nonatomic,strong) URLRequest *request;
@property(nonatomic,strong) NSMutableArray *arrayPushList;
@property(nonatomic,assign) BOOL isShowStatus;
@property(nonatomic,assign) BOOL isFirst;
@property(nonatomic,assign) int buttonIndex;
- (IBAction)onclickSubMenu:(id)sender;//顶部菜单
-(void) hideRightLevelStatus; //隐藏右上角菜单
-(IBAction)swipeRight:(id)sender; //打开推拉菜单
-(IBAction)swipeLeft:(id)sender;   //关闭推拉菜单
-(IBAction)onClickAction:(id)sender; //响应页面所有按钮事件

-(void) showdataForClicktag:(NSString *)anindex  andParam:(NSDictionary *)param;
@end
